CKEDITOR.plugins.add('flvPlayer',   
{   
    init: function(editor)       
    {
        var pluginName = 'flvPlayer';    
        editor.ui.addButton('flvPlayer',   
        {                  
            label: '插入Flv视频',   
            command: pluginName,
            icon: this.path + 'images/movie.png'
        });   
        
        CKEDITOR.dialog.add(pluginName, this.path + 'dialogs/flvPlayer.js');           
        editor.addCommand(pluginName, new CKEDITOR.dialogCommand(pluginName));   
    }   
});  

